.wx-menu {
  .tips {
    color: #999999;
    display: flex;
    background: #f2f8ff;
    border: 1px solid #e1ebf9;
    border-radius: 2px;
    padding: 10px;
    margin-bottom: 20px;
    &-content {
      flex: 1;
    }
    &-icon {
      color: #5491de;
      padding: 5px;
    }
  }
}

.wx-menu-preview {
  position: relative;
  width: 375px;
  height: 667px;
  border: 1px solid #aaa;
  .phone-header {
    background: #333;
    padding-top: 20px;
    color: #ffffff;
    line-height: 44px;
    position: absolute;
    top: -1px;
    left: -1px;
    height: 64px;
    width: 375px;
    h3 {
      text-align: center;
      font-size: 18px;
      font-weight: normal;
    }
    .btn-back {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 44px;
      padding: 0 5px;
      font-size: 16px;
    }
    .qmIcon {
      font-size: 14px;
    }
  }

  .phone-footer {
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 100%;
    height: 52px;
    display: flex;
    text-align: center;
    border-top: 1px solid #d9d9d9;
    .keyboard {
      width: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-right: 1px solid #d9d9d9;
    }
    .icon {
      width: 24px;
      height: 24px;
    }
    .menu-box {
      flex: 1;
    }
  }

  .menu-box {
    display: flex;
    .menu-button {
      position: relative;
      flex: 1;
      font-size: 14px;
      line-height: 50px;
      border-left: 1px solid #d9d9d9;
      color: #999999;
      margin: -1px;
      height: 52px;
      cursor: pointer;
      &:first-child {
        border-width: 0;
      }
      &.active {
        border: 1px solid #5491de;
        color: #5491de;
        position: relative;
        z-index: 1;
      }
    }
  }
  .menu-sub-box {
    @triW: 6px;
    display: none;
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    border: 1px solid #d9d9d9;
    color: #999999;
    .menu-sub-button {
      white-space: nowrap;
      height: 50px;
      overflow: hidden;
      text-overflow: ellipsis;
      padding: 0 0.5em;
      border: 1px solid #d9d9d9;
      margin: -1px;
      cursor: pointer;
      &.active {
        color: #5491de;
        border: 1px solid #5491de;
        position: relative;
        z-index: 1;
      }
      &.dragging {
        //opacity: 0.3;
      }
    }
    &::after {
      content: "";
      position: absolute;
      bottom: -6px;
      margin-left: -6px;
      left: 50%;
      width: 0;
      height: 0;
      border-left: @triW solid transparent;
      border-right: @triW solid transparent;
      border-top: @triW solid #d9d9d9;
    }
  }
}

.wx-menu-sort {
  width: 375px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.wx-menu-edit {
  margin-left: 20px;
  flex: 1;
  &-panel {
    height: 667px;
    padding: 10px 20px;
    border: 1px solid #d9d9d9;
    .panel-header {
      line-height: 40px;
      font-size: 12px;
      border-bottom: 1px solid #f0f0f0;
      display: flex;
      h3 {
        font-size: inherit;
        flex: 1;
      }
      a.btn-link {
      }
    }
  }
  &-control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    button {
      margin: 0 5px;
    }
  }
}